﻿using Kingdee.BOS.Core.Bill.PlugIn;
using Kingdee.BOS.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PMAF.K3Cloud.SCM.Bill.BusinessPlugIn
{
    [HotUpdate]
    [Description("应收单插件")]
    public class Receivable : AbstractBillPlugIn
    {
        public override void AfterBindData(EventArgs e)
        {
            base.AfterBindData(e);
            DateTime createDate = Convert.ToDateTime(View.Model.GetValue("FCreateDate"));
            object billId = View.Model.GetPKValue();
            //if (billId == null )
            //{
            //    View.Model.SetValue("FDate", createDate.AddDays(-1));
            //}
        }
    }
}
